<%-- 
    Document   : ProsesLogin
    Created on : Dec 2, 2012, 8:42:08 PM
    Author     : Ronny
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%@ page import="java.sql.*" %>
        <%
            try {
                Class.forName("oracle.jdbc.driver.OracleDriver");
            } catch (ClassNotFoundException e) {
                out.print(e.getMessage());
            }

            String koneksi = "jdbc:oracle:thin:@172.23.9.185:1521:orcl";
            String user = "MHS105314088";
            String pass = "MHS105314088";


            //String koneksi = "jdbc:oracle:thin:@localhost:1521:xe";
            //String user = "ronny";
            //String pass = "oracle";

            Connection con = DriverManager.getConnection(koneksi, user, pass);
            Statement st = con.createStatement();
            ResultSet rs;
        %>
    </body>
</html>
